<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .box{
            width: 300px;
            height: 300px;
            background-color: red;
            margin: 50px;
            transform: rotateY(60deg);
        }
        /* 还需要借助一些其他的属性 给人3d 的效果; */

        ul{
            list-style: none;
            width: 1000px;
            height: 500px;
            border: 1px solid #333;
            margin: 0 auto;
            /* 通常设置给父元素 */
            perspective: 300px;
        }
        li{
            float: left;
            width: 150px;
            height: 200px;
            margin-top: 150px;
            margin-right: 100px;
            background-color: red;
            transition: 1s;

        }
        ul:hover li{
            /* transform: perspective(300px) rotateY(45deg); */
            transform: rotateY(45deg);
        }
        
    </style>
</head>
<body>
    <div class="box">

    </div>

    <ul>
        <li></li>
        <li></li>
        <li></li>
        <li></li>
    </ul>
</body>
</html>